<?
$gpf_adm_menu = array();

$menu["menu717"] = array (
    array("717000", "GPF", "{$g4['admin_path']}/gpf/index.php"),
    array("", "대시보드", "{$g4['admin_path']}/gpf/index.php"),
    array("", "액션 플러그인", "{$g4['admin_path']}/gpf/plugins.php?gpf_type=action"),
    array("", "관리 플러그인", "{$g4['admin_path']}/gpf/plugins.php?gpf_type=admin"),
    array("", "헬퍼 플러그인", "{$g4['admin_path']}/gpf/plugins.php?gpf_type=helper"),
	array("-")
);

include_once GPF_PATH."/lib/gpf.GPFAdmin.class.php";
$gpfAdmin = GPFAdmin::getInstance();

if($gpfAdmin->hasAdminPlugins())
{
	$gpf_admins = $gpfAdmin->getAdminPlugins();
	foreach($gpf_admins as $k=>$v) 
	{
		array_push($menu["menu717"], array("", $v['label'], "{$g4['admin_path']}/gpf/admin.php?p=".$v['obj']->id));
	}
	array_push($menu["menu717"], array("-"));
}

?>